﻿using System;

// ReSharper disable CheckNamespace
namespace ScrumPilot.Domain
// ReSharper restore CheckNamespace
{
    // ReSharper disable InconsistentNaming
    public partial class tfsserverparam
    // ReSharper restore InconsistentNaming
    {
        public String FormattedUrl
        {
            get
            {

                var urlRet = String.Format("http://{0}:{1}/", tfsurl, tfsport);
                urlRet += !String.IsNullOrEmpty(tfsdirectory) ? tfsdirectory + "/" : "";
                return urlRet;
            }
        }

        public int ScrumPilotScorePeriod
        {
            get { return 0; } // 1 week :=> should be in DB and be a param 0:week 1: two week  2:month
        }
    }
}
